package exceptions.semantic;

import exceptions.semantic.SemanticException;

public class ClassDeclaratedNotFoundException extends SemanticException{
	
	private int linea;
	private String clase;
		 

    public ClassDeclaratedNotFoundException(int l,String c ){
	
		linea = l;
		clase = c;
	
	}

	public String getMessage(){	
		return ("ClassDeclaratedNotFoundException: Error Semantico! "+clase+". Detalle: La declaracion de la clase no corresponde con la definicion. - Linea: "+linea);
	}

	

}
